Telegram Group & Telegram Channel
🔰 INSTALL PYTHON IN TERMUX AND SETUP A VIRTUAL ENVIRONMENT 🔰


In Termux default python version is python3.

🌀 ᴛᴏ ɪɴsᴛᴀʟʟ ᴘʏᴛʜᴏɴ3

$ pkg install python


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘʏᴛʜᴏɴ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ python --version

Python has 'pip' as default package manager to manage python packages.

Using pip you can install, update, remove python packages in a simple and easy way.

We will discuss more on pip in the upcoming posts but for now let's see how to confirm if pip is installed properly or not.


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘɪᴘ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ pip --version

Python virtual environments are a sweet way to manage several projects and their dependencies on a single machine.

The packages installed in a virtual environment are accessible only inside that environment and thus allows different versions of same package to be installed and managed.


🌀 ᴛᴏ ᴄʀᴇᴀᴛᴇ ᴀ ᴘʏᴛʜᴏɴ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ python -m venv mypythonenv

where 'mypythonenv' is the the name of your environment. You can name it anything you want.

You can use your virtual environment by activating it. Then after finishing your work you can deactivate it.


🌀 ᴛᴏ ᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ source mypythonenv/bin/activate


🌀 ᴛᴏ ᴅᴇᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ deactivate


If you enjoyed reading this post, don't forget to

LIKE 👍 | SHARE ♥️

◆━━━◆❃ @PYTHONGRAMM ❃◆━━━◆



tg-me.com/pythongramm/5
Create:
Last Update:

🔰 INSTALL PYTHON IN TERMUX AND SETUP A VIRTUAL ENVIRONMENT 🔰


In Termux default python version is python3.

🌀 ᴛᴏ ɪɴsᴛᴀʟʟ ᴘʏᴛʜᴏɴ3

$ pkg install python


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘʏᴛʜᴏɴ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ python --version

Python has 'pip' as default package manager to manage python packages.

Using pip you can install, update, remove python packages in a simple and easy way.

We will discuss more on pip in the upcoming posts but for now let's see how to confirm if pip is installed properly or not.


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘɪᴘ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ pip --version

Python virtual environments are a sweet way to manage several projects and their dependencies on a single machine.

The packages installed in a virtual environment are accessible only inside that environment and thus allows different versions of same package to be installed and managed.


🌀 ᴛᴏ ᴄʀᴇᴀᴛᴇ ᴀ ᴘʏᴛʜᴏɴ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ python -m venv mypythonenv

where 'mypythonenv' is the the name of your environment. You can name it anything you want.

You can use your virtual environment by activating it. Then after finishing your work you can deactivate it.


🌀 ᴛᴏ ᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ source mypythonenv/bin/activate


🌀 ᴛᴏ ᴅᴇᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ deactivate


If you enjoyed reading this post, don't forget to

LIKE 👍 | SHARE ♥️

◆━━━◆❃ @PYTHONGRAMM ❃◆━━━◆

BY Pythongram 🐍


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythongramm/5

View MORE
Open in Telegram


Pythongram Telegram | DID YOU KNOW?

Date: |

The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.

Can I mute a Telegram group?

In recent times, Telegram has gained a lot of popularity because of the controversy over WhatsApp’s new privacy policy. In January 2021, Telegram was the most downloaded app worldwide and crossed 500 million monthly active users. And with so many active users on the app, people might get messages in bulk from a group or a channel that can be a little irritating. So to get rid of the same, you can mute groups, chats, and channels on Telegram just like WhatsApp. You can mute notifications for one hour, eight hours, or two days, or you can disable notifications forever.

Pythongram from id


Telegram Pythongram 🐍
FROM USA